.swiperImg {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.search {
    width: 100%;
    height: 35px;
    background-image: linear-gradient(137deg,
            #7e79ff 0%,
            #505bff 100%);
    display: flex;
    align-items: center;

    >div {
        flex: 1;
        margin: 0 20px;
        height: 27px;
        background-color: #ffffff;
        box-shadow: inset 0px 0px 2px 0px #292b48;
        border-radius: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        >div {
            padding-left: 16px;
            font-size: 13px;
            color: #666666;
        }

        img {
            margin-right: 16px;
            width: 18px;
            height: 18px;
        }
    }
}

.couponSearch {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background-image: linear-gradient(137deg,
            #7e79ff 0%,
            #505bff 100%);
    flex: 1;
    display: flex;
    align-items: center;
    height: 35px;
    border-bottom: 1px solid #dbdbdb;

    label {
        box-sizing: border-box;
        margin: 0 20px;
        padding: 0 15px;
        flex: 1;
        height: 27px;
        border-radius: 30px;
        display: flex;
        align-items: center;
        border: solid 1px #dbdbdb;
        background: #fff;

        >input {
            flex: 1;
            padding-right: 0.2rem;
            font-size: 13px;
            color: #666666;

        }

        >img {
            width: 20px;
        }
    }
}

.swiper-container {
    height: 145px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.classify {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;

    background: url(../icon/coupon_classify_back.png) no-repeat;
    background-size: 100% 100%;

    a {
        padding-top: 8px;
        width: 25%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        img {
            width: 40px;
            height: 40px;
            border-radius: 20px;
        }

        p {
            font-size: 14px;
            color: #666;
        }
    }
}

.title {
    padding: 0 20px 0 12px;
    display: flex;
    justify-content: space-between;

    >div {
        padding: 0 10px;
        background: url(../icon/coupon_title_back.png) no-repeat;
        background-size: 100%;
        background-position: bottom;
        color: #333333;
        font-size: 14px;
        font-weight: bold;
    }

    >a {
        color: #333333;
        font-size: 12px;
    }
}

.hotGoods {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 4px 12px 14px;

    >a {
        display: block;
        width: 170px;
        margin-top: 10px;

        img {
            width: 170px;
            height: 140px;
            display: block;
            border-radius: 5px 5px 0 0;
            object-fit: cover;
        }

        >div {
            width: 100%;
            height: 90px;
            background: #fff;
            border-radius: 0 0 5px 5px;

            >p {
                font-size: 14px;
                color: #333333;
                overflow: hidden;
                text-overflow: ellipsis;
                text-overflow: -o-ellipsis-lastline;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                padding: 0 8px;
                font-weight: bold;
            }

            >div {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding-left: 8px;

                >div:nth-of-type(1) {
                    >p:nth-of-type(1) {
                        font-size: 16px;
                        color: #d0021b;
                        font-weight: bold;
                    }

                    >p:nth-of-type(2) {
                        font-size: 14px;
                        color: #999999;
                        text-decoration: line-through;
                    }
                }

                >div:nth-of-type(2) {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 73px;
                    height: 19px;
                    border-radius: 9px 0 0 9px;
                    font-size: 12px;
                    color: #ffffff;
                }
            }
        }
    }
}

.thing {
    margin: 0 10px;
    height: 72px;
    background-color: #ffd42f;
    border-radius: 5px 5px 0 0;

    >div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 50px;
        padding: 0 11px 0 18px;

        >div {
            display: flex;
            align-items: center;

            >img {
                width: 16px;
                height: 16px;
            }

            span {
                padding-left: 8px;
                font-size: 14px;
                color: #333333;
                font-weight: bold;
            }

        }

        a {
            font-size: 12px;
            color: #333333;
        }
    }
}

.thing-cont {
    margin-top: -22px;
    overflow-x: scroll;
    display: flex;
    padding: 0 10px 14px;

    >a {
        display: block;
        width: 144px;
        margin-right: 8px;

        img {
            width: 144px;
            height: 128px;
            display: block;
            object-fit: cover;
            border-radius: 5px 5px 0 0;
        }

        >div {
            width: 100%;
            height: 90px;
            background: #fff;
            border-radius: 0 0 5px 5px;

            >p {
                font-size: 14px;
                color: #333333;
                overflow: hidden;
                text-overflow: ellipsis;
                text-overflow: -o-ellipsis-lastline;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                padding: 0 8px;
                font-weight: bold;
            }

            >div {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding-left: 8px;

                >div:nth-of-type(1) {
                    >p:nth-of-type(1) {
                        font-size: 16px;
                        color: #d0021b;
                        font-weight: bold;
                    }

                    >p:nth-of-type(2) {
                        font-size: 14px;
                        color: #999999;
                        text-decoration: line-through;
                    }
                }

                >div:nth-of-type(2) {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 73px;
                    height: 19px;
                    border-radius: 9px 0 0 9px;
                    font-size: 12px;
                    color: #ffffff;
                }
            }
        }
    }
}

.cont {
    padding-top: 14px;

    >a {
        margin: 10px 15px 16px;
        display: block;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 10px rgba(0, 0, 0, .05);

        >div:nth-of-type(1) {
            img {
                width: 100%;
                height: 170px;
                object-fit: cover;
            }
        }

        >div:nth-of-type(2) {
            box-sizing: border-box;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            background-color: #fff;

            >p {
                flex: 1;
                font-size: 16px;
                line-height: 1.6;
                color: #333333;
                margin-bottom: 10px;
                font-weight: bold;
            }



            >div:nth-of-type(1) {
                display: flex;
                align-items: center;
                justify-content: space-between;

                >div:nth-of-type(1) {
                    display: flex;
                    align-items: flex-end;

                    >span:nth-of-type(1) {
                        font-size: 18px;
                        color: #ff3333;
                    }

                    >span:nth-of-type(2) {
                        padding-left: 10px;
                        text-decoration: line-through;

                        >span {
                            font-size: 12px;
                            color: #999999;
                        }

                        >span:nth-of-type(2) {
                            text-decoration: line-through;
                        }
                    }

                }

                >div:nth-of-type(2) {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding: 2px 18px;
                    height: 20px;
                    border-radius: 10px;
                    font-size: 12px;
                    color: #ffffff;
                    background-blend-mode: normal, normal;
                }
            }
        }
    }

    >a:nth-of-type(1) {
        border-top: 0;
    }
}



.hotMoney {
    background-image: linear-gradient(90deg,
            #ff5959 0%,
            #a33dfc 100%);
}

.hotShop {
    background-image: linear-gradient(90deg,
            #ff931f 0%,
            #fc5e3d 100%);
}
